package com.mobisystems.youpark;

import com.parse.Parse;
import com.parse.ParseFacebookUtils;
import com.parse.ParseInstallation;
import com.parse.ParseObject;
import com.parse.PushService;

public class Application extends android.app.Application {
	
	public final static String TAG = "YouPark";
	public static final boolean APPDEBUG = true;
	
	
	@Override
	public void onCreate() {
		super.onCreate();
		
		ParseObject.registerSubclass(YouParkParkedLocation.class);
		Parse.initialize(this, getString(R.string.parseAppID), getString(R.string.parseClientKey));
		PushService.setDefaultPushCallback(this, RequestConfirmationActivity.class);
		ParseInstallation.getCurrentInstallation().saveInBackground();
		ParseFacebookUtils.initialize(getString(R.string.facebookAppID));
	}
}
